ENV['SWIFT_VERSION'] = '5'

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '13.0'

target 'XQClock' do

pod 'Masonry'
pod 'AFNetworking',  '~> 3.1.0'
pod 'MJRefresh',    '~> 3.1.15'
pod 'SDWebImage'
pod 'BRPickerView'
pod 'MBProgressHUD',    '~> 1.0.0'
pod 'TYAttributedLabel', '~> 2.6.2'
pod 'IQKeyboardManager', '~> 6.5.6'
pod 'JSONModel'
pod 'RealReachability'
#pod 'TZImagePickerController'
pod 'MJExtension'
pod 'SAMKeychain'   #存储用户隐私信息
pod 'SDCycleScrollView'
pod 'ReactiveObjC'

pod 'TYCyclePagerView'

pod 'Reachability'



end
#解决15下最低pod部分三方库要求11.0版本的BUG
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      deployment_target = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
      if !deployment_target.nil? && !deployment_target.empty? && deployment_target.to_f < 11.0
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
      end
    end
  end
end
